<!DOCTYPE html>



  


<html class="theme-next pisces use-motion" lang="zh-Hans">
<head><meta name="generator" content="Hexo 3.9.0">
  <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="theme-color" content="#222">









<meta http-equiv="Cache-Control" content="no-transform">
<meta http-equiv="Cache-Control" content="no-siteapp">
















  
  
  <link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css">







<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css">

<link href="/css/main.css?v=5.1.4" rel="stylesheet" type="text/css">


  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png?v=5.1.4">


  <link rel="mask-icon" href="/images/logo.svg?v=5.1.4" color="#222">





  <meta name="keywords" content="Hexo, NexT">










<meta name="description" content="&amp;#x524D;&amp;#x63D0;&amp;#x4E4B;&amp;#x524D;&amp;#x4E00;&amp;#x76F4;&amp;#x5728;&amp;#x7528;svn&amp;#x548C;cvs&amp;#xFF0C;&amp;#x611F;&amp;#x89C9;&amp;#x8DDF;&amp;#x4E0D;&amp;#x4E0A;&amp;#x65F6;&amp;#x4EE3;&amp;#x7684;&amp;#x6F6E;&amp;#x6D41;&amp;#x4E86;&amp;#xFF0C;&amp;#x52A0;&amp;#x4E0A;gi">
<meta property="og:type" content="article">
<meta property="og:title" content="Git用法初探">
<meta property="og:url" content="http://yoursite.com/2019/07/17/Git用法初探/index.html">
<meta property="og:site_name" content="Silence潇湘夜雨">
<meta property="og:description" content="&amp;#x524D;&amp;#x63D0;&amp;#x4E4B;&amp;#x524D;&amp;#x4E00;&amp;#x76F4;&amp;#x5728;&amp;#x7528;svn&amp;#x548C;cvs&amp;#xFF0C;&amp;#x611F;&amp;#x89C9;&amp;#x8DDF;&amp;#x4E0D;&amp;#x4E0A;&amp;#x65F6;&amp;#x4EE3;&amp;#x7684;&amp;#x6F6E;&amp;#x6D41;&amp;#x4E86;&amp;#xFF0C;&amp;#x52A0;&amp;#x4E0A;gi">
<meta property="og:locale" content="zh-Hans">
<meta property="og:updated_time" content="2019-07-19T05:29:38.225Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Git用法初探">
<meta name="twitter:description" content="&amp;#x524D;&amp;#x63D0;&amp;#x4E4B;&amp;#x524D;&amp;#x4E00;&amp;#x76F4;&amp;#x5728;&amp;#x7528;svn&amp;#x548C;cvs&amp;#xFF0C;&amp;#x611F;&amp;#x89C9;&amp;#x8DDF;&amp;#x4E0D;&amp;#x4E0A;&amp;#x65F6;&amp;#x4EE3;&amp;#x7684;&amp;#x6F6E;&amp;#x6D41;&amp;#x4E86;&amp;#xFF0C;&amp;#x52A0;&amp;#x4E0A;gi">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Pisces',
    version: '5.1.4',
    sidebar: {"position":"left","display":"post","offset":12,"b2t":true,"scrollpercent":true,"onmobile":false},
    fancybox: true,
    tabs: true,
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    duoshuo: {
      userId: '0',
      author: '博主'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="http://yoursite.com/2019/07/17/Git用法初探/">





  <title>Git用法初探 | Silence潇湘夜雨</title>
  








</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">

  
  
    
  

  <div class="container sidebar-position-left page-post-detail">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/" class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">Silence潇湘夜雨</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <p class="site-subtitle">Android开发一枚</p>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home //首页"></i> <br>
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-about">
          <a href="/about/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-user //关于"></i> <br>
            
            关于
          </a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="/tags/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-tags  //标签"></i> <br>
            
            标签
          </a>
        </li>
      
        
        <li class="menu-item menu-item-categories">
          <a href="/categories/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-th //分类"></i> <br>
            
            分类
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/archives/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive //归档"></i> <br>
            
            归档
          </a>
        </li>
      
        
        <li class="menu-item menu-item-schedule">
          <a href="/schedule/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-calendar //日程表"></i> <br>
            
            日程表
          </a>
        </li>
      
        
        <li class="menu-item menu-item-sitemap">
          <a href="/sitemap.xml" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-sitemap //站点地图"></i> <br>
            
            站点地图
          </a>
        </li>
      

      
    </ul>
  

  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2019/07/17/Git用法初探/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="Silence潇湘夜雨">
      <meta itemprop="description" content>
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Silence潇湘夜雨">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">Git用法初探</h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2019-07-17T18:39:28+08:00">
                2019-07-17
              </time>
            

            

            
          </span>

          
            <span class="post-category">
            
              <span class="post-meta-divider">|</span>
            
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/Git/" itemprop="url" rel="index">
                    <span itemprop="name">Git</span>
                  </a>
                </span>

                
                
              
            </span>
          

          
            
          

          
          

          

          
            <div class="post-wordcount">
              
                
                <span class="post-meta-item-icon">
                  <i class="fa fa-file-word-o"></i>
                </span>
                
                  <span class="post-meta-item-text">字数统计&#58;</span>
                
                <span title="字数统计">
                  2.1k
                </span>
              

              
                <span class="post-meta-divider">|</span>
              

              
                <span class="post-meta-item-icon">
                  <i class="fa fa-clock-o"></i>
                </span>
                
                  <span class="post-meta-item-text">阅读时长 &asymp;</span>
                
                <span title="阅读时长">
                  12
                </span>
              
            </div>
          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        <h2 id="&#x524D;&#x63D0;"><a href="#&#x524D;&#x63D0;" class="headerlink" title="&#x524D;&#x63D0;"></a>&#x524D;&#x63D0;</h2><p>&#x4E4B;&#x524D;&#x4E00;&#x76F4;&#x5728;&#x7528;svn&#x548C;cvs&#xFF0C;&#x611F;&#x89C9;&#x8DDF;&#x4E0D;&#x4E0A;&#x65F6;&#x4EE3;&#x7684;&#x6F6E;&#x6D41;&#x4E86;&#xFF0C;&#x52A0;&#x4E0A;git&#x4F18;&#x70B9;&#x591A;&#x591A;&#xFF0C;&#x6240;&#x4EE5;&#x5C31;&#x62BD;&#x51FA;&#x65F6;&#x95F4;&#x8FDB;&#x884C;&#x4E86;git&#x57FA;&#x672C;&#x7684;&#x5B66;&#x4E60;&#xFF0C;&#x4E00;&#x662F;&#x6015;&#x81EA;&#x5DF1;&#x5FD8;&#x8BB0;&#x4E86;&#xFF0C;&#x53E6;&#x5916;&#x4E00;&#x4E2A;&#x5E0C;&#x671B;&#x53EF;&#x4EE5;&#x5E2E;&#x52A9;&#x5230;&#x65B0;&#x624B;&#xFF0C;&#x907F;&#x514D;&#x8D70;&#x5F2F;&#x8DEF;&#xFF0C;&#x5982;&#x6709;&#x4E0D;&#x5BF9;&#x7684;&#x5730;&#x65B9;&#x8FD8;&#x671B;&#x6307;&#x6B63;&#x3002;</p>
<h2 id="&#x7B80;&#x4ECB;"><a href="#&#x7B80;&#x4ECB;" class="headerlink" title="&#x7B80;&#x4ECB;"></a>&#x7B80;&#x4ECB;</h2><p>Git&#x662F;&#x4E00;&#x4E2A;&#x5F00;&#x6E90;&#x7684;&#x5206;&#x5E03;&#x5F0F;&#x7248;&#x672C;&#x63A7;&#x5236;&#x7CFB;&#x7EDF;&#xFF0C;&#x53EF;&#x4EE5;&#x6709;&#x6548;&#x3001;&#x9AD8;&#x901F;&#x7684;&#x5904;&#x7406;&#x4ECE;&#x5F88;&#x5C0F;&#x5230;&#x975E;&#x5E38;&#x5927;&#x7684;&#x9879;&#x76EE;&#x7248;&#x672C;&#x7BA1;&#x7406;&#x3002; Git &#x662F; Linus Torvalds &#x4E3A;&#x4E86;&#x5E2E;&#x52A9;&#x7BA1;&#x7406; Linux &#x5185;&#x6838;&#x5F00;&#x53D1;&#x800C;&#x5F00;&#x53D1;&#x7684;&#x4E00;&#x4E2A;&#x5F00;&#x653E;&#x6E90;&#x7801;&#x7684;&#x7248;&#x672C;&#x63A7;&#x5236;&#x8F6F;&#x4EF6;&#x3002; Torvalds &#x5F00;&#x59CB;&#x7740;&#x624B;&#x5F00;&#x53D1; Git &#x662F;&#x4E3A;&#x4E86;&#x4F5C;&#x4E3A;&#x4E00;&#x79CD;&#x8FC7;&#x6E21;&#x65B9;&#x6848;&#x6765;&#x66FF;&#x4EE3; BitKeeper&#xFF0C;&#x540E;&#x8005;&#x4E4B;&#x524D;&#x4E00;&#x76F4;&#x662F; Linux &#x5185;&#x6838;&#x5F00;&#x53D1;&#x4EBA;&#x5458;&#x5728;&#x5168;&#x7403;&#x4F7F;&#x7528;&#x7684;&#x4E3B;&#x8981;&#x6E90;&#x4EE3;&#x7801;&#x5DE5;&#x5177;&#x3002;&#x5F00;&#x653E;&#x6E90;&#x7801;&#x793E;&#x533A;&#x4E2D;&#x7684;&#x6709;&#x4E9B;&#x4EBA;&#x89C9;&#x5F97;BitKeeper &#x7684;&#x8BB8;&#x53EF;&#x8BC1;&#x5E76;&#x4E0D;&#x9002;&#x5408;&#x5F00;&#x653E;&#x6E90;&#x7801;&#x793E;&#x533A;&#x7684;&#x5DE5;&#x4F5C;&#xFF0C;&#x56E0;&#x6B64; Torvalds &#x51B3;&#x5B9A;&#x7740;&#x624B;&#x7814;&#x7A76;&#x8BB8;&#x53EF;&#x8BC1;&#x66F4;&#x4E3A;&#x7075;&#x6D3B;&#x7684;&#x7248;&#x672C;&#x63A7;&#x5236;&#x7CFB;&#x7EDF;&#x3002;&#x5C3D;&#x7BA1;&#x6700;&#x521D; Git &#x7684;&#x5F00;&#x53D1;&#x662F;&#x4E3A;&#x4E86;&#x8F85;&#x52A9; Linux &#x5185;&#x6838;&#x5F00;&#x53D1;&#x7684;&#x8FC7;&#x7A0B;&#xFF0C;&#x4F46;&#x662F;&#x6211;&#x4EEC;&#x5DF2;&#x7ECF;&#x53D1;&#x73B0;&#x5728;&#x5F88;&#x591A;&#x5176;&#x4ED6;&#x81EA;&#x7531;&#x8F6F;&#x4EF6;&#x9879;&#x76EE;&#x4E2D;&#x4E5F;&#x4F7F;&#x7528;&#x4E86; Git&#x3002;</p>
<h2 id="&#x4F18;&#x52BF;"><a href="#&#x4F18;&#x52BF;" class="headerlink" title="&#x4F18;&#x52BF;"></a>&#x4F18;&#x52BF;</h2><p>1&#x3001;<em>&#x7248;&#x672C;&#x5E93;&#x672C;&#x5730;&#x5316; &#x652F;&#x6301;&#x79BB;&#x7EBF;&#x63D0;&#x4EA4;&#xFF0C;&#x76F8;&#x5BF9;&#x72EC;&#x7ACB;&#x4E0D;&#x5F71;&#x54CD;&#x534F;&#x540C;&#x5F00;&#x53D1;</em></p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">  &#x6BCF;&#x4E2A;&#x5F00;&#x53D1;&#x8005;&#x90FD;&#x62E5;&#x6709;&#x81EA;&#x5DF1;&#x7684;&#x7248;&#x672C;&#x63A7;&#x5236;&#x5E93;&#xFF0C;&#x5728;&#x81EA;&#x5DF1;&#x7684;&#x7248;&#x672C;&#x5E93;&#x4E0A;&#x53EF;&#x4EE5;&#x4EFB;&#x610F;&#x7684;&#x6267;&#x884C;&#x63D0;&#x4EA4;&#x4EE3;&#x7801;&#x3001;&#x521B;&#x5EFA;&#x5206;&#x652F;&#x7B49;&#x884C;&#x4E3A;&#x3002;</span><br><span class="line">&#x4F8B;&#x5982;&#xFF0C;&#x5F00;&#x53D1;&#x8005;&#x8BA4;&#x4E3A;&#x81EA;&#x5DF1;&#x63D0;&#x4EA4;&#x7684;&#x4EE3;&#x7801;&#x6709;&#x95EE;&#x9898;&#xFF1F;&#x6CA1;&#x5173;&#x7CFB;&#xFF0C;&#x56E0;&#x4E3A;&#x7248;&#x672C;&#x5E93;&#x662F;&#x81EA;&#x5DF1;&#x7684;&#xFF0C;&#x56DE;&#x6EDA;&#x5386;&#x53F2;&#x3001;&#x53CD;&#x590D;&#x63D0;&#x4EA4;&#x3001;</span><br><span class="line">&#x5F52;&#x5E76;&#x5206;&#x652F;&#x5E76;&#x4E0D;&#x4F1A;&#x5F71;&#x54CD;&#x5230;&#x5176;&#x4ED6;&#x5F00;&#x53D1;&#x8005;&#x3002;</span><br></pre></td></tr></table></figure>

<p>2&#x3001;<em>&#x66F4;&#x5C11;&#x7684;&#x201C;&#x4ED3;&#x5E93;&#x6C61;&#x67D3;&#x201D;</em></p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">   git&#x5BF9;&#x4E8E;&#x6BCF;&#x4E2A;&#x5DE5;&#x7A0B;&#x53EA;&#x4F1A;&#x4EA7;&#x751F;&#x4E00;&#x4E2A;.git&#x76EE;&#x5F55;&#xFF0C;&#x8FD9;&#x4E2A;&#x5DE5;&#x7A0B;&#x6240;&#x6709;&#x7684;&#x7248;&#x672C;&#x63A7;&#x5236;&#x4FE1;&#x606F;&#x90FD;&#x5728;&#x8FD9;&#x4E2A;&#x76EE;&#x5F55;&#x4E2D;&#xFF0C;</span><br><span class="line">&#x4E0D;&#x4F1A;&#x50CF;SVN&#x90A3;&#x6837;&#x5728;&#x6BCF;&#x4E2A;&#x76EE;&#x5F55;&#x4E0B;&#x90FD;&#x4EA7;&#x751F;.svn&#x76EE;&#x5F55;&#x3002;</span><br></pre></td></tr></table></figure>

<p>3&#x3001;<em>&#x628A;&#x5185;&#x5BB9;&#x6309;&#x5143;&#x6570;&#x636E;&#x65B9;&#x5F0F;&#x5B58;&#x50A8;&#xFF0C;&#x5B8C;&#x6574;&#x514B;&#x9686;&#x7248;&#x672C;&#x5E93;</em></p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">   &#x6240;&#x6709;&#x7248;&#x672C;&#x4FE1;&#x606F;&#x4F4D;&#x4E8E;.git&#x76EE;&#x5F55;&#x4E2D;&#xFF0C;&#x5B83;&#x662F;&#x5904;&#x4E8E;&#x4F60;&#x7684;&#x673A;&#x5668;&#x4E0A;&#x7684;&#x4E00;&#x4E2A;&#x514B;&#x9686;&#x7248;&#x7684;&#x7248;&#x672C;&#x5E93;&#xFF0C;</span><br><span class="line">&#x5B83;&#x62E5;&#x6709;&#x4E2D;&#x5FC3;&#x7248;&#x672C;&#x5E93;&#x4E0A;&#x6240;&#x6709;&#x7684;&#x4E1C;&#x897F;&#xFF0C;&#x4F8B;&#x5982;&#x6807;&#x7B7E;&#x3001;&#x5206;&#x652F;&#x3001;&#x7248;&#x672C;&#x8BB0;&#x5F55;&#x7B49;&#x3002;</span><br></pre></td></tr></table></figure>

<p>4&#x3001;<em>&#x652F;&#x6301;&#x5FEB;&#x901F;&#x5207;&#x6362;&#x5206;&#x652F;&#x65B9;&#x4FBF;&#x5408;&#x5E76;&#xFF0C;&#x6BD4;&#x8F83;&#x5408;&#x5E76;&#x6027;&#x80FD;&#x597D;</em></p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">&#x5728;&#x540C;&#x4E00;&#x76EE;&#x5F55;&#x4E0B;&#x5373;&#x53EF;&#x5207;&#x6362;&#x4E0D;&#x540C;&#x7684;&#x5206;&#x652F;&#xFF0C;&#x65B9;&#x4FBF;&#x5408;&#x5E76;&#xFF0C;&#x4E14;&#x5408;&#x5E76;&#x6587;&#x4EF6;&#x901F;&#x5EA6;&#x6BD4;SVN&#x5FEB;&#x3002;</span><br></pre></td></tr></table></figure>

<p>5&#x3001;<em>&#x5206;&#x5E03;&#x5F0F;&#x7248;&#x672C;&#x5E93;&#xFF0C;&#x65E0;&#x5355;&#x70B9;&#x6545;&#x969C;&#xFF0C;&#x5185;&#x5BB9;&#x5B8C;&#x6574;&#x6027;&#x597D;</em></p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">   &#x5185;&#x5BB9;&#x5B58;&#x50A8;&#x4F7F;&#x7528;&#x7684;&#x662F;SHA-1&#x54C8;&#x5E0C;&#x7B97;&#x6CD5;&#x3002;&#x8FD9;&#x80FD;&#x786E;&#x4FDD;&#x4EE3;&#x7801;&#x5185;&#x5BB9;&#x7684;&#x5B8C;&#x6574;&#x6027;&#xFF0C;</span><br><span class="line">&#x786E;&#x4FDD;&#x5728;&#x9047;&#x5230;&#x78C1;&#x76D8;&#x6545;&#x969C;&#x548C;&#x7F51;&#x7EDC;&#x95EE;&#x9898;&#x65F6;&#x964D;&#x4F4E;&#x5BF9;&#x7248;&#x672C;&#x5E93;&#x7684;&#x7834;&#x574F;&#x3002;</span><br></pre></td></tr></table></figure>

<h2 id="git&#x5B89;&#x88C5;"><a href="#git&#x5B89;&#x88C5;" class="headerlink" title="git&#x5B89;&#x88C5;"></a>git&#x5B89;&#x88C5;</h2><ul>
<li><p>1&#x3001;Linux&#x5B89;&#x88C5;</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">&#x76F4;&#x63A5;&#x5728;&#x7EC8;&#x7AEF;&#x8F93;&#x5165; sudo apt-get install git-core</span><br></pre></td></tr></table></figure>
</li>
<li><p>2&#x3001;windows&#x5B89;&#x88C5; </p>
<p>   &#x9996;&#x5148;&#x8FDB;&#x5165;<a href="https://git-scm.com/" target="_blank" rel="noopener">&#x5B98;&#x7F51;</a>&#x4E0B;&#x8F7D;&#x5BF9;&#x5E94;&#x7248;&#x672C;&#xFF0C;&#x7136;&#x540E;&#x5728;&#x4E0B;&#x8DEF;&#x8DEF;&#x5F84;&#x4E0B;&#x70B9;&#x51FB;&#x521A;&#x624D;&#x4E0B;&#x8F7D;&#x7684;exe&#x6587;&#x4EF6;&#x4E00;&#x76F4;&#x9ED8;&#x8BA4;&#x5B89;&#x88C5;&#x5373;&#x53EF;&#x3002;</p>
</li>
</ul>
<h2 id="git&#x4F7F;&#x7528;&#xFF08;&#x4E3B;&#x8981;&#x9488;&#x5BF9;windows&#xFF09;"><a href="#git&#x4F7F;&#x7528;&#xFF08;&#x4E3B;&#x8981;&#x9488;&#x5BF9;windows&#xFF09;" class="headerlink" title="git&#x4F7F;&#x7528;&#xFF08;&#x4E3B;&#x8981;&#x9488;&#x5BF9;windows&#xFF09;"></a>git&#x4F7F;&#x7528;&#xFF08;&#x4E3B;&#x8981;&#x9488;&#x5BF9;windows&#xFF09;</h2><ul>
<li><p>1&#x3001;&#x914D;&#x7F6E;&#x8EAB;&#x4EFD;(windows&#x6253;&#x5F00;GitBash&#xFF0C;Linux&#x6253;&#x5F00;shell)&#x2014;&#x2014;(&#x63D0;&#x4EA4;&#x4EE3;&#x7801;&#x7684;&#x65F6;&#x5019;&#x5C31;&#x77E5;&#x9053;&#x662F;&#x8C01;&#x63D0;&#x4EA4;&#x7684;)&#x5982;&#x4E0B;&#x6240;&#x793A;:&#xFF09;</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">git config --global user.name &quot;Your Name&quot;</span><br><span class="line">git config --global user.email &quot;Your email&quot;</span><br></pre></td></tr></table></figure>

<pre><code>&#x914D;&#x7F6E;&#x5B8C;&#x6210;&#x4E4B;&#x540E;&#x540C;&#x6837;&#x7684;&#x8F93;&#x5165; 
git config --global user.name&#x548C;
git config --global user.email 
&#x5373;&#x53EF;&#x770B;&#x5230;&#x7528;&#x6237;&#x540D;&#x548C;&#x90AE;&#x7BB1;</code></pre></li>
<li><p>2&#x3001;&#x521B;&#x5EFA;&#x4EE3;&#x7801;&#x4ED3;&#x5E93;</p>
<pre><code>&#x8FDB;&#x5165;&#x5230;&#x4F60;&#x9700;&#x8981;&#x521B;&#x5EFA;&#x4ED3;&#x5E93;&#x7684;&#x76EE;&#x5F55;&#x76F4;&#x63A5;&#x5728;Git Bash&#x4E2D;&#x8F93;&#x5165;git init  
&#x5373;&#x53EF;&#x521B;&#x5EFA;&#x5B8C;&#x4E4B;&#x540E;&#x4F1A;&#x5728;&#x4F60;&#x521B;&#x5EFA;&#x4ED3;&#x5E93;&#x7684;&#x76EE;&#x5F55;&#x4E0B;&#x751F;&#x6210;&#x4E00;&#x4E2A;&#x9690;&#x85CF;&#x7684;.git&#x6587;&#x4EF6;&#x5939;&#xFF0C;
&#x8FD9;&#x4E2A;&#x6587;&#x4EF6;&#x5939;&#x5C31;&#x662F;&#x7528;&#x6765;&#x8BB0;&#x5F55;&#x672C;&#x5730;&#x6240;&#x6709;&#x7684;Git&#x64CD;&#x4F5C;&#x7684;&#xFF08;&#x5982;&#x679C;&#x60F3;&#x5220;&#x9664;&#x4ED3;&#x5E93;&#x76F4;&#x63A5;&#x5220;&#x9664;.git&#x6587;&#x4EF6;&#x5939;&#x5373;&#x53EF;&#xFF09;&#x3002;</code></pre></li>
<li><p>3&#x3001;&#x63D0;&#x4EA4;&#x672C;&#x5730;&#x4EE3;&#x7801;&#xFF08;&#x5206;&#x4E3A;&#x4E24;&#x6B65;add &#x548C;commit&#xFF09;</p>
<ul>
<li><p>add&#x6DFB;&#x52A0;&#x6587;&#x4EF6;</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line">  add&#x662F;&#x5C06;&#x9700;&#x8981;&#x63D0;&#x4EA4;&#x7684;&#x4EE3;&#x7801;&#x5148;&#x6DFB;&#x52A0;&#x8FDB;&#x6765;&#xFF0C;commit&#x5219;&#x662F;&#x771F;&#x6B63;&#x7684;&#x63D0;&#x4EA4;&#x64CD;&#x4F5C;&#x3002;</span><br><span class="line">&#x6BD4;&#x5982;&#x6211;&#x4EEC;&#x5728;D&#x76D8;&#x7684;Project&#x4E0B;&#x9762;&#x6709;&#x4E00;&#x4E2A;Test&#x6587;&#x4EF6;&#x5939;&#x548C;Hello world&#x6587;&#x4EF6;&#xFF0C;&#x5982;&#x679C;&#x60F3;&#x63D0;&#x4EA4;Hello world&#x6587;&#x4EF6;&#xFF0C;</span><br><span class="line">&#x5219;&#x9700;&#x8981;&#x5148;&#x6DFB;&#x52A0;&#x2014;&#x2014;&#x547D;&#x4EE4;&#x5982;&#x4E0B;&#xFF1A;</span><br><span class="line"> git add Hello world</span><br><span class="line">&#x5982;&#x679C;&#x60F3;&#x6DFB;&#x52A0;&#x6574;&#x4E2A;D&#x76D8;&#x6574;&#x4E2A;Project&#x6587;&#x4EF6;&#x5939;&#x4E0B;&#x7684;Test&#x6587;&#x4EF6;&#x5939;&#x5219;&#x53EF;&#x4EE5;&#x8FD9;&#x6837;&#x5199;:</span><br><span class="line"> git add Project</span><br><span class="line">&#x5982;&#x679C;&#x4F60;&#x8FD8;&#x662F;&#x89C9;&#x5F97;&#x590D;&#x6742;&#x8FD8;&#x53EF;&#x4EE5;&#x8FD9;&#x6837;&#x5199;(&#x5C06;Project&#x6587;&#x4EF6;&#x5939;&#x4E0B;&#x7684;&#x6240;&#x6709;&#x6587;&#x4EF6;&#x5939;&#x8FDB;&#x884C;&#x6DFB;&#x52A0;):</span><br><span class="line"> git add .</span><br></pre></td></tr></table></figure>
</li>
<li><p>commit&#x63D0;&#x4EA4;&#x6587;&#x4EF6;</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">&#x4E0A;&#x9762;&#x7684;&#x5DF2;&#x7ECF;&#x5C06;&#x6587;&#x4EF6;&#x6DFB;&#x52A0;&#x597D;&#x4E86;&#xFF0C;&#x6211;&#x4EEC;&#x6765;&#x63D0;&#x4EA4;&#x4E00;&#x4E0B;&#xFF0C;&#x547D;&#x4EE4;&#x5982;&#x4E0B;:</span><br><span class="line"> git commit -m &quot;First commit.&quot;</span><br></pre></td></tr></table></figure>

</li>
</ul>
</li>
</ul>
<p><em>&#x6CE8;&#x610F; &#xFF1A;</em> &#x5728;commit&#x547D;&#x4EE4;&#x7684;&#x540E;&#x9762;&#x4E00;&#x5B9A;&#x8981;&#x901A;&#x8FC7;-m&#x53C2;&#x6570;&#x6765;&#x52A0;&#x4E0A;&#x63D0;&#x4EA4;&#x7684;&#x63CF;&#x8FF0;&#x4FE1;&#x606F;&#xFF0C;&#x6CA1;&#x6709;&#x63CF;&#x8FF0;&#x4FE1;&#x606F;&#x7684;&#x63D0;&#x4EA4;&#x88AB;&#x8BA4;&#x4E3A;&#x662F;&#x4E0D;&#x5408;&#x6CD5;&#x7684;&#x3002;</p>
<ul>
<li><p>4&#x3001;&#x5FFD;&#x7565;&#x6587;&#x4EF6;</p>
<pre><code>   Git&#x63D0;&#x4F9B;&#x4E86;&#x4E00;&#x79CD;&#x53EF;&#x914D;&#x7F6E;&#x6027;&#x5F88;&#x5F3A;&#x7684;&#x673A;&#x5236;&#x5141;&#x8BB8;&#x7528;&#x6237;&#x5C06;&#x6307;&#x5B9A;&#x7684;&#x6587;&#x4EF6;&#x6216;&#x76EE;&#x5F55;&#x6392;&#x9664;&#x5728;&#x7248;&#x672C;&#x63A7;&#x5236;&#x4E4B;&#x5916;&#xFF0C;
&#x4ED6;&#x56DE;&#x68C0;&#x67E5;&#x4EE3;&#x7801;&#x4ED3;&#x5E93;&#x7684;&#x6839;&#x76EE;&#x5F55;&#x4E0B;&#x662F;&#x5426;&#x5B58;&#x5728;&#x4E00;&#x4E2A;&#x540D;&#x4E3A;.gitignore&#x7684;&#x6587;&#x4EF6;&#xFF0C;&#x5982;&#x679C;&#x5B58;&#x5728;&#x7684;&#x8BDD;&#x5C31;&#x53BB;&#x4E00;&#x884C;
&#x884C;&#x8BFB;&#x53D6;&#x8FD9;&#x4E2A;&#x6587;&#x4EF6;&#x7684;&#x5185;&#x5BB9;&#xFF0C;&#x5E76;&#x628A;&#x6BCF;&#x4E00;&#x884C;&#x6307;&#x5B9A;&#x7684;&#x6587;&#x4EF6;&#x6216;&#x76EE;&#x5F55;&#x6392;&#x9664;&#x5728;&#x7248;&#x672C;&#x63A7;&#x5236;&#x4E4B;&#x5916;&#x3002;</code></pre><p><em>&#x6CE8;&#x610F; :</em> .gitignore&#x4E2D;&#x6307;&#x5B9A;&#x7684;&#x6587;&#x4EF6;&#x6216;&#x76EE;&#x5F55;&#x662F;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#x661F;(*)&#x901A;&#x914D;&#x7B26;&#x7684;&#x3002;</p>
</li>
</ul>
<pre><code>&#x5728;&#x7EC8;&#x7AEF;&#x8F93;&#x5165; Hello world/ </code></pre><p>   &#x8FD9;&#x6837;&#x5C31;&#x8868;&#x793A;&#x628A; Hello world&#x6587;&#x4EF6;&#x5FFD;&#x7565;&#x6389;&#x4E86;&#xFF0C;&#x7136;&#x540E;&#x4F7F;&#x7528;add&#x547D;&#x4EE4;&#x8FDB;&#x884C;&#x6DFB;&#x52A0;<br>   git add .<br>   &#x7136;&#x540E;&#x6267;&#x884C;commit&#x547D;&#x4EE4;&#x5B8C;&#x6210;&#x63D0;&#x4EA4;<br>   git commit -m &#x201C;Sencond commit.&#x201D;</p>
<ul>
<li><p>5&#x3001;&#x67E5;&#x770B;&#x4FEE;&#x6539;&#x5185;&#x5BB9;&#xFF08;&#x4F7F;&#x7528;status&#x547D;&#x4EE4;&#x5C31;&#x53EF;&#x4EE5;&#x4E86;&#x547D;&#x4EE4;&#x5982;&#x4E0B;&#xFF1A;&#xFF09;</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">git status</span><br></pre></td></tr></table></figure>
</li>
<li><p>6&#x3001; &#x67E5;&#x770B;&#x66F4;&#x6539;&#x5185;&#x5BB9;</p>
<ul>
<li><p>1&#x3001;&#x67E5;&#x770B;&#x6240;&#x6709;&#x6587;&#x4EF6;&#x7684;&#x66F4;&#x6539;&#x5185;&#x5BB9;</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">git diff</span><br></pre></td></tr></table></figure>
</li>
<li><p>2&#x3001;&#x67E5;&#x770B;&#x5355;&#x4E2A;&#x6587;&#x4EF6;&#x7684;&#x66F4;&#x6539;&#x5185;&#x5BB9;</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">git diff d:Project/Hello world.txt</span><br></pre></td></tr></table></figure>
</li>
</ul>
</li>
<li><p>7&#x3001;&#x64A4;&#x9500;&#x672A;&#x63D0;&#x4EA4;&#x7684;&#x4FEE;&#x6539;</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line">&#x6BD4;&#x5982;&#x6211;&#x4EEC;D&#x76D8;Project&#x76EE;&#x5F55;&#x4E0B;&#x7684;Hello world &#x539F;&#x6765;&#x5185;&#x5BB9;&#x4E3A;123&#xFF0C;&#x6211;&#x4EEC;&#x4FEE;&#x6539;&#x4E3A;456</span><br><span class="line">&#xFF0C;&#x7136;&#x540E;&#x60F3;&#x64A4;&#x9500;&#x4FEE;&#x6539;&#x6211;&#x4EEC;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;checkout&#x547D;&#x4EE4;,&#x5982;&#x4E0B;&#xFF1A;</span><br><span class="line">git checkout d:Project/Hello world.txt</span><br><span class="line">&#x7136;&#x540E;&#x91CD;&#x65B0;&#x8F93;&#x5165;git status&#x5373;&#x53EF;&#x67E5;&#x770B;&#x7ED3;&#x679C;&#xFF08;&#x8FD9;&#x79CD;&#x53EA;&#x80FD;&#x9488;&#x5BF9;&#x6CA1;&#x6709;&#x6267;&#x884C; git add&#x547D;&#x4EE4;&#x7684;&#x6587;&#x4EF6;)&#x5982;&#x679C;&#x6267;&#x884C;&#x4E86;add &#x547D;&#x4EE4;&#x7684;</span><br><span class="line">&#x5C31;&#x4E0D;&#x80FD;&#x53D6;&#x6D88;&#x4E86;&#x5417;&#xFF1F;&#x5F53;&#x7136;&#x4E0D;&#x662F;&#xFF0C;&#x5982;&#x679C;&#x60F3;&#x8981;&#x6267;&#x884C;&#x64A4;&#x9500;&#x547D;&#x4EE4;&#x5148;&#x8981;&#x53D6;&#x6D88;&#x6DFB;&#x52A0;&#xFF0C;&#x624D;&#x80FD;&#x6267;&#x884C;&#x64A4;&#x9500;&#x63D0;&#x4EA4;&#x3002;&#x53D6;&#x6D88;&#x547D;&#x4EE4;&#x662F;reset&#xFF0C;&#x5982;&#x4E0B;&#x6240;&#x793A;&#xFF1A;</span><br><span class="line">git reset HEAD d:Project/Hello world.txt</span><br></pre></td></tr></table></figure>
</li>
<li><p>8&#x3001;&#x67E5;&#x770B;&#x63D0;&#x4EA4;&#x8BB0;&#x5F55;&#xFF08;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;log&#x547D;&#x4EE4;&#x67E5;&#x770B;&#x5386;&#x53F2;&#x63D0;&#x4EA4;&#x8BB0;&#x5F55;)</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">git log&#xFF08;&#x67E5;&#x770B;&#x6240;&#x6709;&#x7684;&#x63D0;&#x4EA4;&#x8BB0;&#x5F55;)</span><br></pre></td></tr></table></figure>

<ul>
<li><ul>
<li><p>&#x6BD4;&#x5982;&#x6211;&#x4EEC;&#x7684;id&#x662F;123&#xFF0C;&#x90A3;&#x4E48;&#x67E5;&#x770B;&#x5177;&#x4F53;&#x7684;&#x547D;&#x4EE4;&#x5982;&#x4E0B;&#xFF1A;</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">git log 123 &#xFF08;&#x67E5;&#x770B;id&#x4E3A;123&#x7684;&#x5177;&#x4F53;&#x7684;&#x63D0;&#x4EA4;&#x8BB0;&#x5F55;&#xFF09;</span><br></pre></td></tr></table></figure>
</li>
</ul>
</li>
<li><ul>
<li><p>&#x67E5;&#x770B;&#x4E00;&#x884C;&#x63D0;&#x4EA4;&#x8BB0;&#x5F55;&#x5462;&#xFF0C;&#x547D;&#x4EE4;&#x5982;&#x4E0B;&#xFF1A;(&#x547D;&#x4EE4;&#x662F;-1)</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">git log 123 -1</span><br></pre></td></tr></table></figure>
</li>
</ul>
</li>
<li><ul>
<li><p>&#x5982;&#x679C;&#x60F3;&#x67E5;&#x770B;&#x4FEE;&#x6539;&#x7684;&#x5177;&#x4F53;&#x5185;&#x5BB9;&#x5462;&#xFF0C;&#x547D;&#x4EE4;&#x5982;&#x4E0B;&#xFF1A;(&#x547D;&#x4EE4;&#x662F;-p)</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">git log 123 -1 -p</span><br></pre></td></tr></table></figure>
</li>
</ul>
</li>
</ul>
</li>
<li><p>9&#x3001;git&#x5206;&#x652F;</p>
<ul>
<li><p>1&#x3001;&#x67E5;&#x770B;&#x5206;&#x652F;</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">git branch -a</span><br></pre></td></tr></table></figure>
</li>
<li><p>2&#x3001;&#x521B;&#x5EFA;&#x5206;&#x652F;</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">git branch &quot;&#x5206;&#x652F;&#x540D;&#x79F0;&quot;</span><br></pre></td></tr></table></figure>
</li>
<li><p>3&#x3001;&#x5207;&#x6362;&#x5206;&#x652F;</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">git checkout &#x201C;&#x5206;&#x652F;&#x540D;&#x79F0;&quot;</span><br></pre></td></tr></table></figure>
</li>
<li><p>4&#x3001;&#x5408;&#x5E76;&#x5206;&#x652F;&#x5230;&#x4E3B;&#x5E72;&#x4E0A;</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">git checkout master</span><br><span class="line">git merge &quot;&#x5206;&#x652F;&#x540D;&#x79F0;&quot;</span><br></pre></td></tr></table></figure>
</li>
<li><p>5&#x3001;&#x5220;&#x9664;&#x5206;&#x652F;</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">git branch -D &#x5206;&#x652F;&#x540D;&#x79F0;</span><br></pre></td></tr></table></figure>
</li>
</ul>
</li>
<li><p>10&#x3001;&#x4E0E;&#x8FDC;&#x7A0B;&#x7248;&#x672C;&#x5E93;&#x534F;&#x4F5C;</p>
<ul>
<li><p>1&#x3001;&#x4E0B;&#x8F7D;&#x4EE3;&#x7801;&#x5230;&#x672C;&#x5730;(clone)</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">git clone &quot;&#x5730;&#x5740;&#x201C;</span><br></pre></td></tr></table></figure>
</li>
<li><p>2&#x3001;&#x63D0;&#x4EF7;&#x4EE3;&#x7801;&#x5230;&#x8FDC;&#x7A0B;&#x5E93;(push)</p>
<p>  git push origin master &#xFF08;&#x5176;&#x4E2D;origin&#x6307;&#x5B9A;&#x7684;&#x662F;&#x8FDC;&#x7A0B;&#x7248;&#x672C;&#x5E93;&#x7684;Git&#x5730;&#x5740;&#xFF0C;master&#x6307;&#x540C;&#x6B65;&#x5230;&#x90A3;&#x4E2A;&#x5206;&#x652F;&#x4E0A;)</p>
</li>
<li><p>3&#x3001;&#x540C;&#x6B65;&#x8FDC;&#x7A0B;&#x7248;&#x672C;&#x5E93;&#x7684;&#x4EE3;&#x7801;&#x5230;&#x672C;&#x5730;(fetch)</p>
<pre><code>git fetch origin master</code></pre></li>
<li><p>4&#x3001;&#x67E5;&#x770B;&#x8FDC;&#x7A0B;&#x7248;&#x672C;&#x5E93;&#x4FEE;&#x6539;&#x4E86;&#x90A3;&#x4E9B;&#x4E1C;&#x897F;</p>
<pre><code>git diff origin/master</code></pre></li>
<li><p>5&#x3001;&#x5206;&#x652F;&#x4E0A;&#x7684;&#x4FEE;&#x6539;&#x5408;&#x5E76;&#x5230;&#x4E3B;&#x5E72;&#x4E0A;</p>
<pre><code>git merge origin/master</code></pre></li>
<li><p>6&#x3001;&#x4ECE;&#x8FDC;&#x7A0B;&#x5E93;&#x540C;&#x6B65;&#x6700;&#x65B0;&#x7684;&#x4EE3;&#x7801;&#x5E76;&#x4E14;&#x5408;&#x5E76;&#x5230;&#x672C;&#x5730;</p>
<pre><code>git pull origin/master</code></pre></li>
</ul>
</li>
</ul>
<h2 id="&#x611F;&#x8C22;"><a href="#&#x611F;&#x8C22;" class="headerlink" title="&#x611F;&#x8C22;"></a>&#x611F;&#x8C22;</h2><p><a href="http://blog.csdn.net/dengsilinming/article/details/7999188" target="_blank" rel="noopener">Git&#x7684;&#x4F18;&#x52BF;&#x548C;&#x7528;&#x6CD5;</a></p>
<h2 id="&#x5173;&#x4E8E;&#x6211;"><a href="#&#x5173;&#x4E8E;&#x6211;" class="headerlink" title="&#x5173;&#x4E8E;&#x6211;"></a>&#x5173;&#x4E8E;&#x6211;</h2><p><a href="https://www.jianshu.com/u/1e2eec6f972c" target="_blank" rel="noopener">Silence&#x6F47;&#x6E58;&#x591C;&#x96E8;</a></p>
<p><a href="https://gitee.com/1032200695/events" target="_blank" rel="noopener">&#x7801;&#x4E91;</a></p>
<p><a href="https://github.com/muyishuangfeng" target="_blank" rel="noopener">github</a></p>
<p><a href="https://juejin.im/user/58df0abf61ff4b006b115e43" target="_blank" rel="noopener">&#x6398;&#x91D1;</a></p>
<p><a href="https://muyishuangfeng.github.io/" target="_blank" rel="noopener">&#x4E2A;&#x4EBA;&#x535A;&#x5BA2;</a></p>

      
    </div>
    
    
    

    

    

    

    <footer class="post-footer">
      

      
      
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/2019/07/17/Android Facebook原生登录/" rel="next" title="Android Facebook 原生登录">
                <i class="fa fa-chevron-left"></i> Android Facebook 原生登录
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/2019/08/16/Google Play 调用错误分析/" rel="prev" title="Google Play 调用错误分析">
                Google Play 调用错误分析 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </div>
  
  
  
  </article>



    <div class="post-spread">
      
    </div>
  </div>


          </div>
          


          

  



        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap">
            文章目录
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview-wrap">
            站点概览
          </li>
        </ul>
      

      <section class="site-overview-wrap sidebar-panel">
        <div class="site-overview">
          <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
            
              <p class="site-author-name" itemprop="name">Silence潇湘夜雨</p>
              <p class="site-description motion-element" itemprop="description">Android开发一枚</p>
          </div>

          <nav class="site-state motion-element">

            
              <div class="site-state-item site-state-posts">
              
                <a href="/archives/">
              
                  <span class="site-state-item-count">55</span>
                  <span class="site-state-item-name">日志</span>
                </a>
              </div>
            

            
              
              
              <div class="site-state-item site-state-categories">
                <a href="/categories/index.html">
                  <span class="site-state-item-count">16</span>
                  <span class="site-state-item-name">分类</span>
                </a>
              </div>
            

            

          </nav>

          

          
            <div class="links-of-author motion-element">
                
                  <span class="links-of-author-item">
                    <a href="https://github.com/muyishuangfeng" target="_blank" title="GitHub">
                      
                        <i class="fa fa-fw fa-github"></i>GitHub</a>
                  </span>
                
                  <span class="links-of-author-item">
                    <a href="https://www.jianshu.com/u/1e2eec6f972c" target="_blank" title="简书">
                      
                        <i class="fa fa-fw fa-heartbeat"></i>简书</a>
                  </span>
                
                  <span class="links-of-author-item">
                    <a href="https://juejin.im/user/58df0abf61ff4b006b115e43" target="_blank" title="掘金">
                      
                        <i class="fa fa-fw fa-star"></i>掘金</a>
                  </span>
                
                  <span class="links-of-author-item">
                    <a href="https://twitter.com/yangke20792452" target="_blank" title="Twitter">
                      
                        <i class="fa fa-fw fa-twitter"></i>Twitter</a>
                  </span>
                
            </div>
          

          
          

          
          

          

        </div>
      </section>

      
      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
              
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#前提"><span class="nav-number">1.</span> <span class="nav-text">前提</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#简介"><span class="nav-number">2.</span> <span class="nav-text">简介</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#优势"><span class="nav-number">3.</span> <span class="nav-text">优势</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#git安装"><span class="nav-number">4.</span> <span class="nav-text">git安装</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#git使用（主要针对windows）"><span class="nav-number">5.</span> <span class="nav-text">git使用（主要针对windows）</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#感谢"><span class="nav-number">6.</span> <span class="nav-text">感谢</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#关于我"><span class="nav-number">7.</span> <span class="nav-text">关于我</span></a></li></ol></div>
            

          </div>
        </section>
      <!--/noindex-->
      

      
        <div class="back-to-top">
          <i class="fa fa-arrow-up"></i>
          
            <span id="scrollpercent"><span>0</span>%</span>
          
        </div>
      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright">&copy; <span itemprop="copyrightYear">2020</span>
  <span class="with-love">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">Silence潇湘夜雨</span>

  
    <span class="post-meta-divider">|</span>
    <span class="post-meta-item-icon">
      <i class="fa fa-area-chart"></i>
    </span>
    
      <span class="post-meta-item-text">Site words total count&#58;</span>
    
    <span title="Site words total count">114.8k</span>
  
</div>


  <div class="powered-by">由 <a class="theme-link" target="_blank" href="https://hexo.io">Hexo</a> 强力驱动</div>



  <span class="post-meta-divider">|</span>



  <div class="theme-info">主题 &mdash; <a class="theme-link" target="_blank" href="https://github.com/iissnan/hexo-theme-next">NexT.Pisces</a> v5.1.4</div>




        







        
      </div>
    </footer>

    

    

  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  












  
  
    <script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>
  

  
  
    <script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>
  

  
  
    <script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
  


  


  <script type="text/javascript" src="/js/src/utils.js?v=5.1.4"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.1.4"></script>



  
  


  <script type="text/javascript" src="/js/src/affix.js?v=5.1.4"></script>

  <script type="text/javascript" src="/js/src/schemes/pisces.js?v=5.1.4"></script>



  
  <script type="text/javascript" src="/js/src/scrollspy.js?v=5.1.4"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.1.4"></script>



  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.4"></script>



  


  




	





  





  












  





  

  

  

  
  

  

  

  

  <!-- 页面点击小红心 -->
<script type="text/javascript" src="/js/src/love.js"></script>
<script src="/live2dw/lib/L2Dwidget.min.js?094cbace49a39548bed64abff5988b05"></script><script>L2Dwidget.init({"model":{"scale":1,"hHeadPos":0.5,"vHeadPos":0.618},"display":{"superSample":2,"width":150,"height":300,"position":"right","hOffset":0,"vOffset":-20},"mobile":{"show":false},"react":{"opacityDefault":0.5,"opacityOnHover":0.5},"log":false,"pluginJsPath":"lib/","pluginModelPath":"assets/","pluginRootPath":"live2dw/","tagMode":false});</script></body>
</html>
